﻿using System;

namespace msilgc.common
{
    public static class DeviceMethods
    {
        public static void Printf(string format) { Console.WriteLine(format); }
        public static void Printf(string format, float arg1) { Console.WriteLine(format, arg1); }
        public static void Printf(string format, float arg1, float arg2) { Console.WriteLine(format, arg1, arg2); }
        public static void Printf(string format, int arg1) { Console.WriteLine(format, arg1); }
        public static void Printf(string format, int arg1, int arg2) { Console.WriteLine(format, arg1, arg2); }

        public static float SinF(float x) {
            return (float)Math.Sin(x);
        }

        public static float CosF(float x) {
            return (float)Math.Cos(x);
        }

        public static float TanF(float x){
            return (float)Math.Tan(x);
        }
    }
}
